package com.atguigu.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: shenhao
 * @CreatTime: 2024/11/7 9:56
 * @Version: 1.0
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MyRedisCache {//@EnableAspectJAutoProxy //启AOP自动代理
    //约等于键的前缀prefix,
    String keyPrefix();
    //SpringEL表达式，解析占位符对应的匹配value值
    String matchValue();
}
